feat(diagnosticts): add option to show the source of the entry#3376
feat(diagnosticts): add option to show the source of the entry#3376Koliras wants to merge 3 commits intonvim-telescope:masterfrom
Conversation
|
Any updates on this? It is a very desirable feature to know the source of the diagnostic. Thanks. |
|
Looks like it's a quite demanded feature, is there something wrong with this PR? It's super simple and provides the feature, it can always be improved later, having it is better than not... |
|
I could really use this - any idea of when/if it is going to be enabled? |
|
Workaround that I have found: which adds the diagnostic source to the start of the diagnostic message. There might be some issues with line_width but this is just a temporary fix that anyone could implement |
Description
Adds option to show LSP source to diagnostics picker.
It's useful when you work on a multilanguage project.
Fixes #2544
Fixes #2110
Type of change
How Has This Been Tested?
:lua require('telescope.builtin').diagnostics({ show_source = true })In the end of every result there should be the source that created the entry
Configuration:
Checklist: